home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / textutl3.lha / textutils-1.3 / man / Makefile.in < prev    next >
Makefile  |  1992-06-29  |  2KB  |  59 lines

  1. # Makefile for GNU textutils documentation.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3. # Copyright (C) 1991 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. SHELL = /bin/sh
  20.  
  21. srcdir = @srcdir@/man
  22. @VPATH@
  23.  
  24. MANFILES = cat.1 cmp.1 comm.1 csplit.1 cut.1 expand.1 fold.1 head.1 \
  25. join.1 nl.1 paste.1 pr.1 sort.1 split.1 sum.1 tac.1 tail.1 tr.1 \
  26. unexpand.1 uniq.1 wc.1
  27.  
  28. DISTFILES = Makefile.in $(MANFILES)
  29.  
  30. all:
  31. .PHONY: all
  32.  
  33. install: all
  34.     for f in $(MANFILES); do \
  35.     if test -f $$f; then src=.; else src=$(srcdir); fi; \
  36.     $(INSTALLDATA) $$src/$$f $(mandir)/$(manprefix)`basename $$f 1`$(manext); \
  37.     done
  38. .PHONY: install
  39.  
  40. tags:
  41. .PHONY: tags
  42.  
  43. TAGS:
  44. .PHONY: TAGS
  45.  
  46. mostlyclean:
  47. .PHONY: mostlyclean
  48.  
  49. clean: mostlyclean
  50.     rm -f Makefile
  51. .PHONY: clean
  52.  
  53. realclean: clean
  54. .PHONY: realclean
  55.  
  56. dist:
  57.     ln $(DISTFILES) ../`cat ../.fname`/man
  58. .PHONY: dist
  59.